Perform font-specific cleanup when font object is swept by GC. See
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 25 Oct 2013 07:28:16 +0000 (11:28 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 25 Oct 2013 07:28:16 +0000 (11:28 +0400)
commit0adb8580f0fb831f86617a1dafeaf286045e2bd4
treefb57314a4ee33961eb64c6e273f8fe3a5f9db877
parent40927719f6a35dc496ca94143c8afad41a90387b
Perform font-specific cleanup when font object is swept by GC.  See
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html.
* alloc.c (cleanup_vector): New function.
(sweep_vector): Call it for each reclaimed vector object.
* font.h (struct font): Adjust comment.
src/ChangeLog
src/alloc.c
src/font.h